--- wine-1.5.19/dlls/iphlpapi/iphlpapi_main.c	2012-12-19 04:36:11.329000003 +0000
+++ wine-1.5.19.patched//dlls/iphlpapi/iphlpapi_main.c	2012-12-19 04:36:35.086000003 +0000
@@ -23,6 +23,7 @@
 #include <stdarg.h>
 #include <stdlib.h>
 #include <sys/types.h>
+#include <sys/socket.h>
 #ifdef HAVE_NETINET_IN_H
 # include <netinet/in.h>
 #endif
